package com.future.dao;

import java.util.List;

import com.future.common.base.BaseDao;
import com.future.model.CommentDis;
import com.jfinal.plugin.activerecord.Db;

public class CommentDisDao extends BaseDao<CommentDis> {
	public List<CommentDis> getCommentDises(Long commentId) {
		return find(commentId);
	}

	public void deleteByCommentId(Long commentId) {
		Db.update(getSqlPara(commentId));
	}
}
